<?php /* Smarty version Smarty-3.0.6, created on 2018-03-30 21:00:16
         compiled from "E:/xiangmu/phpstudy/WWW/chenjin/dingwei/temp/admin\order/order_list.htm" */ ?>
<?php /*%%SmartyHeaderCode:36545abe34e04eea01-40715582%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '99879739b60d759095b7e9cd8fa6810090b75239' => 
    array (
      0 => 'E:/xiangmu/phpstudy/WWW/chenjin/dingwei/temp/admin\\order/order_list.htm',
      1 => 1516191581,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '36545abe34e04eea01-40715582',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><?php echo $_smarty_tpl->getVariable('page_title')->value;?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="<?php echo $_smarty_tpl->getVariable('admin_temp_path')->value;?>
/css/general.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $_smarty_tpl->getVariable('admin_temp_path')->value;?>
/css/main.css" rel="stylesheet" type="text/css" />
	<script src="<?php echo $_smarty_tpl->getVariable('url_path')->value;?>
/js/jquery.js"></script>
	<script src="<?php echo $_smarty_tpl->getVariable('url_path')->value;?>
/js/utils.js"></script>
	<script src="<?php echo $_smarty_tpl->getVariable('admin_temp_path')->value;?>
/js/listtable.js"></script>
	
	<script>
		function check()
		{
			if(confirm("您确认删除这些吗？"))
			{
				return true;
			}
			else
			{
				return false;
			}
		}

		function check_del(url)
		{
			if(confirm("您是否确认删除该用户！"))
			{
				location.href = url;
			}


			return;
		}
	</script>
	
</head>
<h1>
<!--	<span class="action-span"><a href="order.php?action=add_order">添加会员</a></span>-->
	<span class="action-span1"><a href=""><?php echo $_smarty_tpl->getVariable('sys_name')->value;?>
 管理中心</a>  - <?php echo $_smarty_tpl->getVariable('page_title')->value;?>
 </span>
	<div style="clear:both"></div>
</h1>
<body>
<div class="form-div">
	<form action="order.php" name="searchForm" onsubmit="">
		<img src="<?php echo $_smarty_tpl->getVariable('admin_temp_path')->value;?>
/images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
		关键字 <input type="text" placeholder="请输入订单号"  name="keyword" id="keyword" value="<?php echo $_smarty_tpl->getVariable('keyword')->value;?>
"/>
		状态<select name="status">
		<option value="0">所有</option>
		<option value="1" <?php if ($_smarty_tpl->getVariable('status')->value==1){?>selected<?php }?>>待付款</option>
		<option value="2" <?php if ($_smarty_tpl->getVariable('status')->value==2){?>selected<?php }?>>已付款</option>
	</select>
		<input type="submit" value="搜索" class="button" />
	</form>
</div>
<form method="post" action="order.php?action=del_sel_order" name="listForm" onsubmit="return check()">
	<div class="list-div" id="listDiv">
		<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
			<tr align="center">
				<th width="5%">订单号</td>
				<th width="10%">用户id</td>
				<th width="10%">雇主称呼</td>
				<th width="10%">微信昵称</td>
				<th width="5%">金额</td>
				<th width="8%">下单时间</td>
				<th width="8%">状态</td>
				<th width="8%">付款时间</td>
				<th width="8%">操作</td>
			</tr>
			<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['name'] = 'loop';
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('order_list')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total']);
?>
			<tr align="center">
				<td><?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['ordersn'];?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['userid'];?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['username'];?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['name'];?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['cost'];?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['add_time_format'];?>
</td>
				<td><?php if ($_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['status']==2){?>已付款<?php }else{ ?>待付款<?php }?></td>
				<td><?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['pay_time_fromat'];?>
</td>
				<td><a href="order.php?action=mod_order&ordersn=<?php echo $_smarty_tpl->getVariable('order_list')->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['ordersn'];?>
&now_page=<?php echo $_smarty_tpl->getVariable('now_page')->value;?>
">查看</a></td>
			</tr>
			<?php endfor; endif; ?>
			<tr>
				<td>
					<!--<input type="submit" value="批量删除" id="btnSubmit" name="btnSubmit" class="button" disabled="true" />-->
					<input type="hidden" value="<?php echo $_smarty_tpl->getVariable('now_page')->value;?>
" name="now_page"/>
					<input type="hidden" value="<?php echo $_smarty_tpl->getVariable('admin_temp_path')->value;?>
" id="admin_temp_path"/>
				</td>
				<td colspan="11" align="right">&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->getVariable('pageshow')->value;?>
</td>
			</tr>
		</table>
	</div>
</form>
</body>
</html>
<script language="JavaScript" src="<?php echo $_smarty_tpl->getVariable('admin_temp_path')->value;?>
/js/select.js"></script>